package com.example.demo.common;

import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName：MyFunction
 * @Author: admin
 * @Date: 2024/11/28 16:12
 * @Description: 公共方法帮助类
 */
@Slf4j
public class MyFunction {

    /* *
     * @Title: stringIsNullOrWhiteSpace
     * @Author: admin
     * @Date: 2024-11-28 16:13:25
     * @Params: [value]
     * @Return: Boolean
     * @Description: 判断字符串是否为空
     */
    public static Boolean stringIsNullOrWhiteSpace(String value) {
        return value == null || value.trim().isEmpty();
    }
}
